<?xml version="1.0" encoding="utf-8" ?>
<grid>
  <actions parameters="ProjectTaskID">
    <action name="edit" caption="$general.edit$" icon="edit.png" onclick="var ret = true; if (window.EditProjectTask) {ret = window.EditProjectTask({0}); } if (ret == false) {return false;} " />
    <action name="delete" caption="$general.delete$" icon="delete.png" confirmation="$general.confirmdelete$" />
    <action name="reminder" caption="$pm.projecttask.sendnotification$" icon="SendNotification.png" />
    <action name="up" externalsourcename="up" caption="$Unigrid.Groups.Actions.up$" icon="Up.png" />
    <action name="down" externalsourcename="down" caption="$Unigrid.Groups.Actions.down$" icon="Down.png" />
  </actions>
  <columns>
    <column source="ProjectTaskDisplayName" caption="$general.title$" wrap="false" externalsourcename="ProjectTaskDisplayName" >
      <filter type="text" size="200" />
    </column>
    <column source="##ALL##" caption="$pm.projecttask.assingedto$" wrap="false" externalsourcename="AssigneeFormattedFullName" sort="AssigneeFullName" >
      <filter type="text" source="AssigneeFullName" size="450" />
    </column>
    <column source="##ALL##" caption="$pm.projecttask.progress$" externalsourcename="taskprogress" wrap="false" sort="ProjectTaskProgress" />
    <column source="ProjectTaskHours" caption="$pm.projecttask.estimatehours$" wrap="false" />
    <column source="##ALL##" caption="$pm.projecttask.owner$" wrap="false" externalsourcename="OwnerFormattedFullName"  sort="OwnerFullName">
      <filter type="text" source="OwnerFullName" size="450" />
    </column>
    <column source="TaskPriorityDisplayName" caption="$pm.projecttask.priority$" wrap="false" />
    <column source="##ALL##" caption="$pm.projecttask.status$" externalsourcename="TaskStatus" wrap="false" sort="TaskStatusDisplayName" />
    <column width="100%" />
  </columns>
  <objecttype name="pm.projecttasklist" columns="ProjectTaskID, ProjectTaskHours, ProjectTaskDisplayName, AssigneeFullName, ProjectTaskProgress, OwnerFullName, TaskPriorityDisplayName, TaskStatusDisplayName, TaskStatusIcon, TaskStatusColor, AssigneeUserName, OwnerUserName, ProjectOwner" />
  <options>
    <key name="DisplayFilter" value="true" />
  </options>
</grid>
